<script setup>
import {ref} from 'vue';
const info = ref('Jake');
const url = ref('http://www.baidu.com');
</script>

<template>
  <h1>属性绑定</h1>
  <input type="text" value="kk">
  <input type="text" value="info">
  <input type="text" v-bind:value="info">
  <input type="text" :value="info">
  <hr>

  <a href="http://www.baidu.com">百度</a>
  <a href="url">超链接1</a>
  <a :href="url">超链接2</a>
</template>

<style scoped>

</style>